package cate.common.table.chat;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "聊天频道等级")
public class ChatChannelLevelRow extends ERow {
    @NoteField(value = "开服天数")
    public int openDay;

    @NoteField(value = "等级限制")
    public int level;

    @NoteField(value = "频道ID")
    public int channel;

    @Override
    public void parse(XSSFRowWrap xr) {
        this.id = xr.getInteger("ID");
        this.openDay = xr.getInteger("开服天数", 0);
        this.level = xr.getInteger("等级限制", 0);
        this.channel = xr.getInteger("频道ID", 0);
    }

    @Override
    public void decode() {}
}
